<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    function reverse(){
      var a = arguments;
     var num = "";
      for (var i =arguments.length-1;i >= 0;i--){
       num += change(a[i]);
      }
      document.write(num);
    }
    function change(target){
      switch(target){
        case 1:
        return '壹';
        case 2:
        return '二';
        case 3:
        return '三';
      }
    }
    
  </script>
</body>
</html>